/***************************************************
> Copyright (C) 2024 ==KINGYI== All rights reserved.
> File Name: 3.c
> Author:cjy
> Mail: 
> Created Time: 2024年08月08日 星期四 19时12分55秒
***************************************************/

#include "queue.h"
int main(int argc,const char* argv[])
{
	int count = 0;
	int data = 0;
	int ret = 0;
	struct queue *que = NULL;
  	que = create_queue();
  
   	push(12,que);
   	push(23,que);
   	push(11,que);
	count = size(que);
	printf("有%d个\n",count);
   	data = front(que);
   	pop(que);
   	printf("data = %d\n",data);
   	data = front(que);
   	pop(que);
   	printf("data = %d\n",data);
   	data = front(que);
   	pop(que);
   	printf("data = %d\n",data);
	ret = isempty(que);
	if(ret == 0){
		printf("链表为空");	
	}
    return 0;
}
